Skip to content

fix: validate jwt secret is at least 16 characters#3859

Merged
sweatybridge merged 1 commit into
developfrom
val-jwt
Jul 15, 2025
Merged

fix: validate jwt secret is at least 16 characters#3859
sweatybridge merged 1 commit into
developfrom
val-jwt

Conversation

@sweatybridge

@sweatybridge sweatybridge commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Bug fix

What is the new behavior?

Empty jwt secret now fails validation.

[auth]
jwt_secret = ""

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested a review from a team as a code owner July 15, 2025 08:35

@hf hf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially might break some people who have a short secret, but let's see.

@sweatybridge sweatybridge merged commit dd54320 into develop Jul 15, 2025
14 checks passed
@sweatybridge sweatybridge deleted the val-jwt branch July 15, 2025 09:34
@github-actions github-actions Bot mentioned this pull request Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants